home *** CD-ROM | disk | FTP | other *** search
/ Commodore Free 38 / Commodore_Free_Issue_38_2010_Commodore_Computer_Club.d64 / minigrafik 1 < prev    next >
Text File  |  2023-02-26  |  5KB  |  190 lines

  1.  
  2.  
  3.  
  4. *************************************
  5.       MINIGRAFIK FOR THE VIC 20
  6.             INTRODUCTION
  7. *************************************
  8.  
  9. This is a short expose introducing
  10. MINIPAINT, and its accompanying
  11. BASIC extension, MINIGRAFIK:
  12.  
  13. I'd like to introduce two programs
  14. designed for doing high resolution
  15. graphics on the VIC-20: MINIGRAFIK,
  16. and MINIPAINT.
  17.  
  18. MINIPAINT is an editor for a 160x192
  19. pixels graphics mode, and MINIGRAFIK
  20. is an accompanying extension for CBM
  21. BASIC. Unlike to the Commodore 64,
  22. where the VIC-II chip provides a
  23. dedicated graphics mode, on the
  24. VIC-20 there is only a text mode
  25. available. However, the character
  26. definitions can be placed  into RAM,
  27. and by "painting" the text screen
  28. with unique characters, it is
  29. possible to set up a bitmap.
  30.  
  31. Only the internal memory is
  32. accessible to the VIC-I, and the
  33. layout of the bitmap has been
  34. carefully chosen to only allocate
  35. the upper 4K. A RAM extension is
  36. required, at least 8K for
  37. MINIGRAFIK, and 16K for MINIPAINT.
  38. The zeropage is untouched, and so
  39. both programs are compatible to
  40. KERNAL, and CBM BASIC.
  41.  
  42. The main screen of MINIPAINT shows
  43. three windows. All edit operations
  44. are done in the first - largest -
  45. window, which shows a zoomed view
  46. into the picture. This window is
  47. overlaid by a dialog box, when you
  48. invoke the help screens, or want to
  49. access storage media. A second
  50. window, and third window show the
  51. same view in original size, and
  52. additional status information.
  53. Pressing the SPACE key toggles
  54. between editor, and a full-screen
  55. preview.
  56.  
  57. MINIPAINT, and the stored picture
  58. files are compatible to both PAL,
  59. and NTSC. The pictures can easily be
  60. used by your own programs in BASIC
  61. and machine language. For BASIC
  62. programmers, the MINIGRAFIK
  63. extension provides powerful commands
  64. for loading, saving, and
  65. manipulating pictures in this file
  66. format.
  67.  
  68. There are some projects where these
  69. two programs already have
  70. contributed to: VIC=toria Gold
  71. Edition, a strategy game set in the
  72. times of Ancient Rome, some of the
  73. graphics in Realms of Quests III
  74. were designed in MINIPAINT, and
  75. quite recently 'Island of Secrets'
  76. has been re-released with additional
  77. graphics.
  78.  
  79. I hope to have piqued your interest,
  80. and maybe yours is the next program
  81. or game to use bitmapped graphics on
  82. the VIC-20 with MINIGRAFIK, and
  83. MINIPAINT.
  84.  
  85. Here's MINIPAINT, a pixel-oriented
  86. editor for MINIGRAFIK bitmaps:
  87.  
  88. http://cid-05ef0a8eae2a4f4a.skydrive.
  89. live.com/self.aspx/.Public/vic-20/
  90. minigrafik/minipaint/2009-11-01.zip
  91.  
  92. The main screen is divided into
  93. three windows:
  94.  
  95. - At the top, a scrolling window of
  96.   40x32 pixels into the 160x192
  97.   picture, zoomed to 4 times the
  98.   size,
  99.  
  100. - in the bottom left, the same window
  101.   in original size,
  102.  
  103. - in the bottom right, status and
  104.   help info,
  105.  
  106. - it supports *both* hi-res, and
  107.   multi-colour for each (4/8)x16
  108.   cell,
  109.  
  110. - the program, and the stored
  111.   pictures are PAL/NTSC compatible by
  112.   design (as MINIGRAFIK already is),
  113.  
  114. - the pictures contain a stand-alone
  115.   viewer, and can easily be used from
  116.   both BASIC, and ML (as the game
  117.   VICtoria readily demonstrates).
  118.  
  119. Within the editor:
  120.  
  121. - Cursor controls work as usual,
  122. - Keys 1,2(,3,4) set a pixel
  123. - Ctrl-1,2,3,4 cycle the colours for
  124.   that palette entry,
  125. - H enters hires, M enters
  126.   multicolour mode,
  127. - HOME, and CLR work as expected,
  128. - DEL, and INST cut and paste whole
  129.   attribute cells,
  130. - SPACE toggles preview/editor,
  131. - ? (Shift+/) toggles help/editor,
  132. - f1/f3/f5: enable different draw
  133.   modes:
  134. - f1: set pixel, advance cursor,
  135.   repeat,
  136. - f3: set pixel, advance cursor,
  137.   don't repeat - this is the default
  138.   after start, and load picture,
  139. - f5: set pixel, don't advance
  140. - <- (left arrow key): toggle cursor
  141.   draw mode (f5 only)
  142. - Shift-L/S will load or save the
  143.   picture,
  144. - C=-4 shows the disc directory,
  145. - Shift-Q quits MINIPAINT
  146.  
  147. Within the load/save dialog box, DEL
  148. deletes the last char, RETURN starts
  149. the load or save, and f7 cycles
  150. through the devices 1, and 8..11:
  151.  
  152. Further plans mostly concern the
  153. completion of the batch processing
  154. suite. MINIPAINT as such is feature
  155. complete. Version 1.2 fixes some
  156. small issues in the directory
  157. display.
  158.  
  159. The batch processing suite makes use
  160. of MINIGRAFIK to convert PGM files
  161. into MG format, export MG files to
  162. Koala bitmaps, and convert to and
  163. from charset binaries (1K or 2K) at
  164. 4096, 5120, 6144, and 7168 - thus
  165. transforming MINIPAINT into a
  166. comfortable charset editor
  167.  
  168. Here's King Tut, pixeled with
  169. MINIPAINT
  170.  
  171. http://cid-05ef0a8eae2a4f4a.skydrive.
  172. live.com/self.aspx/.Public/vic-20/
  173. minigrafik/minipaint/king%20tut.prg
  174.  
  175. I used a suitable cropped, and
  176. re-sized photo, and a variant of PGM
  177. import to obtain a first workstage
  178. in white, light orange, orange, and
  179. blue. The lower part of the snake
  180. (in cyan), and the black shades were
  181. added in MINIPAINT.
  182.  
  183. Outside MINIGRAFIK, or MINIPAINT the
  184. file must be loaded ,8 (not ,8,1!),
  185. and then RUN. You'll need at least
  186. an 8K RAM expander to view the image
  187. this way.
  188.  
  189. ===================================
  190.